home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW Related / helpful MPW scripts / IsCheckedOut < prev    next >
Encoding:
Text File  |  1993-09-17  |  1.5 KB  |  50 lines  |  [TEXT/MPS ]

  1. ###################################################################################################
  2. #
  3. #    Copyright © 1990 Apple Computer, Inc. All rights reserved.
  4. #    Copyright © 1990 Kevin O'Mahoney,     All rights reserved.
  5. #
  6. #    File: IsCheckedOut
  7. #
  8. #
  9. ###################################################################################################
  10. #
  11. #    Abstract:
  12. #
  13. #    This script was developed to help in the building of BART project as part of the Service Tools
  14. #    diagnostic projects.  
  15. #
  16. #    This script accepts one input parameter.  This is the name of a subproject in the BART project.
  17. #    This script will open a temp file and show the status of all checked out files in that subproject.
  18. #
  19. ###################################################################################################
  20. #
  21. #    Usage:
  22. #        IsCheckedOut <mountedSubProjectName>
  23. #
  24. #
  25. ###################################################################################################
  26. #
  27. #    Change History:
  28. #
  29. # 920131 - KOM    -    new today
  30. #
  31. ###################################################################################################
  32.  
  33.  
  34. Set komTempFileName temp-`Date -n`;
  35. New {komTempFileName};
  36. sizeWindow 350 600 {komTempFileName};
  37.  
  38. Begin;
  39.     Echo "#######################################################";
  40.     Echo "#";
  41.     Echo "# Looking for files checked out from"
  42.     Echo "#        project: “{1}”";
  43.     Echo "#";
  44.     Echo "#######################################################";
  45.     Echo "# "`Date`;
  46.     Echo;
  47.     Projectinfo -project "{1}" -m -latest -r;
  48.     Echo;
  49.     Echo "# "`Date`;
  50. End >>{komTempFileName};